#include "label.h"
#include<QDebug>
Label::Label(QWidget* parent):QLabel(parent)
{

}

void Label::enterEvent(QEvent *event)
{
    (void) event;
    qDebug()<<"enterevent";
}

void Label::leaveEvent(QEvent *event)
{
    (void) event;
    qDebug()<<"leaveevent";
}

void Label::mousePressEvent(QMouseEvent *ev)
{
    (void)ev;
    qDebug()<<"press";
}

void Label::mouseReleaseEvent(QMouseEvent *ev)
{
    (void)ev;
    qDebug()<<"release";
}

void Label::mouseDoubleClickEvent(QMouseEvent *event)
{
    (void) event;
    qDebug()<<"双击按键";
}
